package cloud.daodao.storm.common.user.model.role;

import cloud.daodao.storm.common.serialize.Serializer;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * User 查询
 *
 * @author DaoDao
 */
@Data
@Schema(title = "RoleSelect", description = "角色查询")
public class RoleSelect implements Serializer {

    @Schema(title = "id", description = "id", example = "1")
    @NotNull
    @Min(value = 1)
    @Max(value = Long.MAX_VALUE)
    private Long id;

}
